from django.urls import path

from teachers.views import AddTeacherView, TeachersListView, TeacherQueryView, TeacherDetailView

app_name = "teachers"

urlpatterns = [
    path("add/", AddTeacherView.as_view(), name="add"),
    path("list/<int:page>/<int:offset>/", TeachersListView.as_view(), name="list"),
    path("query/", TeacherQueryView.as_view()),
    path("detail/<int:pk>/", TeacherDetailView.as_view())
]
